<?php
	
	if (!function_exists('site_url'))
	{
		function site_url($parts)
		{
			$url = '/tecnicosya';
	
			foreach($parts as $part)
			{
				$url .= '/' . $part;
			}
			
			return $url;
		}  
	}
	
	if (!function_exists('site_path'))
	{
		function site_path($parts, $suffix)
		{
			$path = __SITE_PATH;
	
			foreach($parts as $part)
			{
				$path .= DIRECTORY_SEPARATOR . $part;
			}
			
			if($suffix)
				$path .= $suffix;	
			
			return $path;
		}
	}
	
?>